/**
 * <p>Title: ServiceZM05.java</p>
 * <p>Description: </p>
 * <p>Copyright: Baosight Software LTD.co Copyright (c) 2002</p>
 * <p>Company: Baosight Software</p>
 * @author 张小飞
 * @version 1.0
 * <pre>Histroy:
 *          2011-12-15 上午09:38:16  张小飞  Create
 *</pre>
 */
package com.baosight.sczx.zm.service;

import com.baosight.iplat4j.core.ei.EiInfo;
import com.baosight.iplat4j.ep.ServiceEPBase;
import com.baosight.sczx.common.zm.basetools.StaticTools;
import com.baosight.sczx.zm.domain.ZM09;

/**
 * <p>Title: ServiceZM05.java</p>
 * <p>Description: </p>
 * <p>Copyright: Baosight Software LTD.co Copyright (c) 2002</p>
 * <p>Company: Baosight Software</p>
 * @author 李红星
 * @version 1.0
 * <pre>Histroy:
 *          2012-5-23 16:55:03  李红星  Create
 *</pre>
 */
public class ServiceZM09 extends ServiceEPBase {
	
	/**
	 * 
	 * <p>Function: queryEquipment</p>
	 * <p>Description: 获取附属设备公共选择使用</p>
	 * <p>return value:EiInfo</p>
	 * <p>throws Exception:</p>
	 * <p>History:
	 *    2012-5-23 16:55:34李红星
	 * </p>
	 *
	 */
	public EiInfo queryEquipment(EiInfo inInfo) {
//		String usingType = inInfo.getBlock("inqu_status").getCellStr(0, "fdUsingType");
//		String departmentId = inInfo.getBlock("inqu_status").getCellStr(0, "fdDepartmentId");
//		if(usingType == null || "".equals(usingType)){
//			StaticTools.setQueryParameters(inInfo, "fdUsingType", "在用", true);
//		}
//		if(departmentId == null || "".equals(departmentId)){
//			StaticTools.setQueryParameters(inInfo, "fdDepartmentId", UserSession.getInSessionProperty("orgCode"), true);
//		}
//		StaticTools.setQueryParameters(inInfo, "fdStatus", "生效", true);
		EiInfo outInfo = super.query(inInfo, "ZM09.query", new ZM09());
		return outInfo;
	}
}
